package com.ruoyi.cm.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同建设场景业务对象 cm_bs_contract_info_scene
 *
 * @author zxs
 * @date 2025-03-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class CmBsContractInfoSceneBo extends BaseEntity {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 合同id
     */
    @NotNull(message = "合同id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long contractId;

    /**
     * 建设场景名称
     */
    @NotBlank(message = "建设场景名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sceneName;

    /**
     * 容量
     */
    @NotNull(message = "容量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal capacity;
    private BigDecimal chgCapacity;

    /**
     * 单价
     */
    @NotNull(message = "单价不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal price;

    /**
     * 合同备注
     */
    @NotBlank(message = "合同备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    // 变更单价
    private BigDecimal chgPrice;
    // 变更hou单价
    private BigDecimal chgedPrice;

}
